package com.wcsy.myblog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 公告
 */
@TableName("tb_announcement")
public class Announcement {
 @TableId(type = IdType.INPUT)
  private long announcementId;
  private String announcementContent;
  private long userId;
  private String announcement;


  public long getAnnouncementId() {
    return announcementId;
  }

  public void setAnnouncementId(long announcementId) {
    this.announcementId = announcementId;
  }


  public String getAnnouncementContent() {
    return announcementContent;
  }

  public void setAnnouncementContent(String announcementContent) {
    this.announcementContent = announcementContent;
  }


  public long getUserId() {
    return userId;
  }

  public void setUserId(long userId) {
    this.userId = userId;
  }


  public String getAnnouncement() {
    return announcement;
  }

  public void setAnnouncement(String announcement) {
    this.announcement = announcement;
  }

}
